#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

class Date
{
public:
	void init(int year = 1, int mouth = 1, int day = 1)
	{
		_year = year;
		_mouth = mouth;
		_day = day;
	}
	void print()
	{
		cout << _year << " / " << _mouth << " / " << _day << endl;
	}

private:
	int _year;
	int _mouth;
	int _day;
};

int main()
{
	Date y;

	y.init();
	y.print();
	y.init(2024, 7, 31);
	y.print();
	return 0;
}